﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/GenUserMaster.Master" AutoEventWireup="true" CodeBehind="SelfRegister.aspx.cs" Inherits="BizUser.SelfRegister" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style1 {
            height: 23px;
        }
        .auto-style2 {
            height: 23px;
            width: 147px;
        }
        .auto-style3 {
            width: 147px;
        }
        .auto-style4 {
            height: 23px;
            width: 166px;
        }
        .auto-style5 {
            width: 166px;
        }
        .auto-style8 {
            height: 23px;
            width: 144px;
        }
        .auto-style9 {
            width: 144px;
        }
        .auto-style11 {
            width: 96px;
        }
        .auto-style12 {
            width: 240px;
        }
        .auto-style13 {
            width: 217px;
        }
        .auto-style14 {
            width: 217px;
            height: 14px;
        }
        .auto-style15 {
            width: 240px;
            height: 14px;
        }
        .auto-style16 {
            width: 96px;
            height: 14px;
        }
        .auto-style17 {
            width: 217px;
            height: 23px;
        }
        .auto-style18 {
            width: 240px;
            height: 23px;
        }
        .auto-style19 {
            width: 96px;
            height: 23px;
        }
        .auto-style22 {
            height: 23px;
            width: 133px;
        }
        .auto-style23 {
            width: 133px;
        }
        .auto-style24 {
            width: 61px;
        }
        .auto-style25 {
            width: 217px;
            height: 30px;
        }
        .auto-style26 {
            width: 240px;
            height: 30px;
        }
        .auto-style27 {
            width: 96px;
            height: 30px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="Panel1" runat="server" Height="615px" Width="765px">
         <table style="width:105%; height: 485px;">
        <tr>
            <td class="auto-style2">Step 1 - Enter Profile</td>
            <td class="auto-style8"></td>
            <td class="auto-style22">&nbsp;</td>
            <td class="auto-style4">&nbsp;</td>
            <td class="auto-style1" colspan="2"></td>
        </tr>
        <tr>
            <td class="auto-style2"></td>
            <td class="auto-style8"></td>
            <td class="auto-style22">&nbsp;</td>
            <td class="auto-style4">&nbsp;</td>
            <td class="auto-style1" colspan="2"></td>
        </tr>
        <tr>
            <td class="auto-style3">Email (This will be your LoginID)*</td>
            <td class="auto-style9">
                <asp:TextBox ID="txtUserID" runat="server"></asp:TextBox>
            </td>
            <td class="auto-style23">
                <h5>
                    <asp:RegularExpressionValidator ID="vldEmail" runat="server" ControlToValidate="txtUserID" ErrorMessage="Please enter correct Email address" Font-Size="XX-Small" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                </h5>
            </td>
            <td class="auto-style5">&nbsp;</td>
            <td colspan="2">&nbsp;</td>
        </tr>
             <tr>
            <td class="auto-style3">Password*</td>
            <td class="auto-style9">
                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
                 </td>
            <td class="auto-style23">
                <asp:CompareValidator ID="vldPassword" runat="server" ControlToCompare="txtPassword" ControlToValidate="txtRetypePassword" ErrorMessage="Passwords do not match" Font-Size="XX-Small"></asp:CompareValidator>
                 </td>
            <td class="auto-style5">Retype Password*</td>
            <td colspan="2">
                <asp:TextBox ID="txtRetypePassword" runat="server" TextMode="Password"></asp:TextBox>
                 </td>
        </tr>
             <tr>
            <td class="auto-style3">First Name*</td>
            <td class="auto-style9">
                <asp:TextBox ID="txtFirstName" runat="server"></asp:TextBox>
                 </td>
            <td class="auto-style23">
                <asp:RequiredFieldValidator ID="vldFirstName" runat="server" ControlToValidate="txtFirstName" ErrorMessage="Please enter First Name"></asp:RequiredFieldValidator>
                 </td>
            <td class="auto-style5">Profile Picture</td>
            <td rowspan="3">Ask Sir if Image/ Image Map</td>
                 <td class="auto-style24">&nbsp;</td>
        </tr>
             <tr>
                 <td class="auto-style3">Middle Initial</td>
                 <td class="auto-style9">
                     <asp:TextBox ID="txtMiddleInitial" runat="server"></asp:TextBox>
                 </td>
                 <td class="auto-style23">&nbsp;</td>
                 <td class="auto-style5">&nbsp;</td>
                 <td class="auto-style24">&nbsp;</td>
             </tr>
             <tr>
                 <td class="auto-style3">Last Name*</td>
                 <td class="auto-style9">
                     <asp:TextBox ID="txtLastName" runat="server"></asp:TextBox>
                 </td>
                 <td class="auto-style23">
                     <asp:RequiredFieldValidator ID="txtRqdLastName" runat="server" ControlToValidate="txtLastName" ErrorMessage="Please enter Last Name"></asp:RequiredFieldValidator>
                 </td>
                 <td class="auto-style5">&nbsp;</td>
                 <td class="auto-style24">&nbsp;</td>
             </tr>
             <tr>
                 <td class="auto-style3">Company Name</td>
                 <td class="auto-style9">
                     <asp:TextBox ID="txtCompanyName" runat="server"></asp:TextBox>
                 </td>
                 <td class="auto-style23">&nbsp;</td>
                 <td class="auto-style5">&nbsp;</td>
                 <td colspan="2">
                     <asp:Button ID="Button2" runat="server" Text="Upload picture" />
                 </td>
             </tr>
             <tr>
                 <td class="auto-style4">Address Line 1</td>
                 <td colspan="3" class="auto-style2">
                     <asp:TextBox ID="txtAddressLine1" runat="server" Width="305px"></asp:TextBox>
                 </td>
                 
                 <td class="auto-style1" colspan="2"></td>
             </tr>
             <tr>
                 <td class="auto-style4">Address Line 2</td>
                 <td colspan="3" class="auto-style2">
                     <asp:TextBox ID="txtAddressLine2" runat="server" Width="309px"></asp:TextBox>
                 </td>
                 
                 <td class="auto-style1" colspan="2"></td>
             </tr>
             
             <tr>
                 <td class="auto-style2">Country</td>
                 <td class="auto-style8">
                     <asp:DropDownList ID="cmbCountry" runat="server" DataSourceID="SqlDataSource2" DataTextField="CountryName" DataValueField="CountryID">
                     </asp:DropDownList>
                     <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:conBizUser %>" SelectCommand="SELECT [CountryID], [CountryName] FROM [Country] ORDER BY [CountryName]"></asp:SqlDataSource>
                 </td>
                 <td class="auto-style22">&nbsp;</td>
                 <td class="auto-style4">State</td>
                 <td class="auto-style1" colspan="2">
                     <asp:DropDownList ID="cmbState" runat="server" DataSourceID="SqlDataSource1" DataTextField="StateName" DataValueField="StateID">
                     </asp:DropDownList>
                     <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:conBizUser %>" SelectCommand="SELECT [StateID], [StateName], [StateCode] FROM [State] ORDER BY [StateName]"></asp:SqlDataSource>
                 </td>
             </tr>
             <tr>
                 <td class="auto-style2">City</td>
                 <td class="auto-style8">
                     <asp:DropDownList ID="cmbCity" runat="server" DataSourceID="SqlDataSource3" DataTextField="CityName" DataValueField="CityID">
                     </asp:DropDownList>
                     <asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:conBizUser %>" SelectCommand="SELECT [CityID], [CityName], [CountyID] FROM [City]"></asp:SqlDataSource>
                 </td>
                 <td class="auto-style22">&nbsp;</td>
                 <td class="auto-style4">Zip</td>
                 <td class="auto-style1" colspan="2">
                     <asp:TextBox ID="txtZipCode" runat="server"></asp:TextBox>
                     <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtZipCode" ErrorMessage="RegularExpressionValidator" ValidationExpression="\d{5}(-\d{4})?"></asp:RegularExpressionValidator>
                 </td>
             </tr>
             <tr>
                 <td class="auto-style2">Office Phone</td>
                 <td class="auto-style8">
                     <asp:TextBox ID="txtPhone" runat="server" TextMode="Phone"></asp:TextBox>
                 </td>
                 <td class="auto-style22">&nbsp;</td>
                 <td class="auto-style4">Mobile Phone</td>
                 <td class="auto-style1" colspan="2">
                     <asp:TextBox ID="txtMobile" runat="server" TextMode="Phone"></asp:TextBox>
                 </td>
             </tr>
             <tr>
                 <td class="auto-style2">Broker/Agent Licence #</td>
                 <td class="auto-style8">
                     <asp:TextBox ID="txtBrokerLicenseNumber" runat="server"></asp:TextBox>
                 </td>
                 <td class="auto-style22">&nbsp;</td>
                 <td class="auto-style4">&nbsp;</td>
                 <td class="auto-style1" colspan="2">&nbsp;</td>
             </tr>
             <tr>
                 <td class="auto-style2">&nbsp;</td>
                 <td class="auto-style8"></td>
                 <td class="auto-style22"></td>
                 <td class="auto-style4"></td>
                 <td class="auto-style1" colspan="2"></td>
             </tr>
             <tr>
                 <td class="auto-style2">Verify the Captcha</td>
                 <td class="auto-style8">&nbsp;</td>
                 <td class="auto-style22">&nbsp;</td>
                 <td class="auto-style4">&nbsp;</td>
                 <td class="auto-style1" colspan="2">&nbsp;</td>
             </tr>
             <tr>
                 <td class="auto-style2">&nbsp;</td>
                 <td class="auto-style8">&nbsp;</td>
                 <td class="auto-style22">&nbsp;</td>
                 <td class="auto-style4">&nbsp;</td>
                 <td class="auto-style1" colspan="2"> </td>
                     
             </tr>
             <tr>
                 <td class="auto-style3"></td>
                 <td class="auto-style9">
                 </td>
                 <td class="auto-style23"></td>
                 <td class="auto-style5"></td>
                 <td colspan="2"></td>
             </tr>
    </table>
    </asp:Panel>
   <asp:Panel ID="Panel3" runat="server" Height="293px" style="margin-right: 20px; margin-top: 138px" Width="752px">
       <table>
           <tr>
               <td colspan="2" class="auto-style13">
                   Step 2 - Specify Security Answers</td>
               
               <td class="auto-style11">

               </td>
           </tr>

           <tr>
               <td class="auto-style14"></td>
               <td class="auto-style15"></td>
               <td class="auto-style16"></td>
           </tr>
           <tr>
               <td class="auto-style13">Question 1</td>
               <td class="auto-style12">
                   <asp:TextBox ID="txtSecQ1" runat="server" Width="324px"></asp:TextBox>
               </td>
               <td class="auto-style11">&nbsp;</td>
           </tr>
           <tr>
               <td class="auto-style13">Answer</td>
               <td class="auto-style12">
                   <asp:TextBox ID="txtSecA1" runat="server" Width="328px"></asp:TextBox>
               </td>
               <td class="auto-style11">
                   <asp:RequiredFieldValidator ID="vldRqdQ1" runat="server" ControlToValidate="txtSecA1" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
               </td>
           </tr>
              <tr>
               <td class="auto-style13">Question 2</td>
               <td class="auto-style12">
                   <asp:TextBox ID="txtSecQ2" runat="server" Width="324px"></asp:TextBox>
               </td>
               <td class="auto-style11">&nbsp;</td>
           </tr>
           <tr>
               <td class="auto-style13">Answer</td>
               <td class="auto-style12">
                   <asp:TextBox ID="txtSecA2" runat="server" Width="328px"></asp:TextBox>
               </td>
               <td class="auto-style11">
                   <asp:RequiredFieldValidator ID="vldRqdQ2" runat="server" ControlToValidate="txtSecA2" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
               </td>
           </tr>
              <tr>
               <td class="auto-style13">Question 3</td>
               <td class="auto-style12">
                   <asp:TextBox ID="txtSecQ3" runat="server" Width="324px"></asp:TextBox>
               </td>
               <td class="auto-style11">&nbsp;</td>
           </tr>
           <tr>
               <td class="auto-style13">Answer</td>
               <td class="auto-style12">
                   <asp:TextBox ID="txtSecA3" runat="server" Width="328px"></asp:TextBox>
               </td>
               <td class="auto-style11">
                   <asp:RequiredFieldValidator ID="vldRqdQ3" runat="server" ControlToValidate="txtSecA3" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
               </td>
           </tr>

           <tr>
               <td class="auto-style17"></td>
               <td class="auto-style18">
                   <asp:Button ID="btnSave" runat="server" OnClick="Button3_Click" Text="Save" Width="110px" />
               </td>
               <td class="auto-style19"></td>
           </tr>
           <tr>
               <td class="auto-style25"></td>
               <td class="auto-style26"></td>
               <td class="auto-style27"></td>
           </tr>

       </table>
                     </asp:Panel>
                
</asp:Content>
